package com.soft.javase.day02.practice.override;

/**
 * @author yzh
 * @desc TODO
 * @date 2025/4/16
 */
public class Test {
    public static void main(String[] args) {
        Employee employee = new Employee("张三", "滁州市天长市", 5000);
        Director director = new Director("李四", "南京市雨花台区", 20000, 3000);
        Manager manager = new Manager("王五", "合肥市蜀山区", 15000, "开发部");

        employee.show();
        System.out.println("--------------------");
        director.show();
        System.out.println("--------------------");
        manager.show();
    }
}
